﻿using B.S.BaseData.Domain.Entities;
using B.S.BaseData.ErrorCode;
using MediatR;

namespace B.S.BaseData.Read.API.Command.ApplyCommand
{
    public class ApplyQueryCommand:IRequest<APIResult<APIPaging<Apply>>>
    {
        public string Name { get; set; }
        /// <summary>
        /// 权重
        /// </summary>
        public int Importance { get; set; }
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
        //public DateTime fristTime { get; set; }
        //public string fristdate { get { return fristTime.ToString("yyyy-MM-dd hh:mm:ss"); } }
        //public DateTime EndTime { get; set; }
        //public string enddate { get { return EndTime.ToString("yyyy-MM-dd hh:mm:ss"); } }
        public DateTime? DatetimeBY { get; set; }
        public int? ApprovalStatusId { get; set; }
        public string? ApplyPerson { get; set; }
    }
}
